<#include "/${parameters.templateDir}/simple/form-close.ftl" />
<#if parameters.focusElement?if_exists != "">
<script type="text/javascript">
    StrutsUtils.addOnLoad(function() {
        var element = document.getElementById("${parameters.focusElement?html}");
        if(element) {
          try{//防止不能选择的报错
            element.select();
          }catch(e){}              
          try{//防止不能聚焦的报错
            element.focus();
          }catch(e){}              
        }
    });
</script>
</#if>